<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String contextPath = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ contextPath + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>邹平县公安局执法监督办案场所管理系统</title>

		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
		<link href="<%=contextPath%>/img/skin/skin.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #1D3647;
}
-->
</style>
	</head>
<%
String erro = (String)request.getParameter("erro");
String isFreeze = (String)request.getParameter("freeze");
  if(session!=null)
   {
     session.invalidate();
   }
if(erro!=null)
{
%>

<script type="text/javascript">
				alert("您输入的用户名或密码不对，请重新输入!");
			</script>
<%
}
if(isFreeze!=null&&isFreeze.equals("yes")){
%>
<script type="text/javascript">
				alert("您的用户已被冻结!");
			</script>
<%
}
 %>
	<body>
	<!-- 
		邹平县公安局
		<br />
		执法监督暨办案管理系统
		<br />
		<form method="post" action="servlet/IsLogin">
			警号：
			<input type="text" name="policeID">
			<br>
			密码：
			<input type="password" name="policepw">
			<br />
			<input type="submit" value="提交">
			<input type="reset">
		</form>
	</body>
	
	///////////////// -->
	
	  <body> 
<table width="100%"  height="100%" border="0" cellpadding="0" cellspacing="0">
	  <tr>
	    <td valign="top">
	    <table width="100%"  border="0" cellpadding="0" cellspacing="0" class="login_top_bg">
	      <tr>
	      
	      <td height="130px;">
	      <img src="<%=contextPath%>/img/skin/jh.png">
	      </td>
	    <td><img src="<%=contextPath%>/img/skin/bt.png">
	        </td>   
	      
	      </tr>
	    </table>

	    </td>
	  </tr>
  		<tr>
  		  <td valign="top" height="100%">
    			<table  border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
    			<tr><td height="40" background="<%=contextPath%>/img/skin/login_bg_t.jpg">
    		</td></tr>
    			
    		<tr>
    		<td height="100%" background="<%=contextPath%>/img/skin/login_bg_m.jpg">
    	<!-- ---////////////////////////// -->
    	 <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" >
      <tr>
        <td width="49%" align="right">
        <table width="91%" height="100%" border="0" cellpadding="0" cellspacing="0" >
            <tr>
              <td height="138" valign="top"><table width="89%"  border="0" cellpadding="0" cellspacing="0">
             
                <tr>
                  <td align="center" valign="top"><span id="logo1"> <img src="<%=contextPath%>/img/skin/jc.jpg"></span></td>
                </tr>
           
              </table></td>
            </tr>
            
        </table>
        </td>
        <td width="1%" >&nbsp;</td>
        <td width="50%" >

        <table width="100%" height="59" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td width="4%">&nbsp;</td>
              <td width="96%" height="38"><span class="login_txt_bt">登 录</span>
            
		
              </td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td height="21"><table cellSpacing="0" cellPadding="0" border="0" id="table211" height="328">
                  <tr>
                    <td height="164" colspan="2" align="middle">
                    
      <form method="post" action="servlet/IsLogin">
                        <table cellSpacing="0" cellPadding="0"  border="0" height="143" id="table212">
                    
                          <tr>
                            <td width="13%" height="38" class="top_hui_text">警号：</td>
                            <td height="38" colspan="2" class="top_hui_text">
                           <input type="text" name="policeID">
                           <input type="hidden" name="ipAddr" value="<%=request.getRemoteAddr() %>">
                             </td>
                          </tr>
                          <tr>
                            <td width="13%" height="35" class="top_hui_text">
                           	密码：</td>
                            <td height="35" colspan="2" class="top_hui_text">
                         	<input type="password" name="policepw"> 
                           <span id="lock"></span> </td>
                          </tr>

                         
                          <tr>
                            <td height="35" >&nbsp;</td>
                            <td width="20%" height="35" ><input type="submit" value="提交"> </td>
                            <td width="67%" class="top_hui_text"><input type="reset"></td>
                          </tr>
                        </table>
                        <br>
             		</form>
              
              </td>
                  </tr>
                  <tr>
                    <td width="433" height="164" align="right" valign="bottom">
                    <!-- 
                    <span id="loginwel"></span>
                    - -->
                    </td>
                    <td width="57" align="right" valign="bottom">&nbsp;</td>
                  </tr>
              </table>
              
              </td>
            </tr>
          </table>
          </td>
      </tr>
    </table>


    	
    	<!-- ---- /////////////////////-->
    		</td>
    		</tr>
    	

    	</table>
   </td>
  </tr>
  <tr>
    <td height="20"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="login-buttom-bg">
      <tr>
        <td align="center"><span class="login_txt">
        <font color="#000000">
        技术支持:创通金网&nbsp;&nbsp;&nbsp;&nbsp;电话:0543-4565866&nbsp;&nbsp;&nbsp;&nbsp;http://www.my818.com
        </font>
        </span></td>
      </tr>
    </table></td>
  </tr>
</table>
 
  </body>
</html>
